public class superuse {public static void main(String[] args) {
    // 实例化一个Student类的对象s，为Student对象s中的school赋值，打印输出信息
    /********* begin *********/
    Student s=new Student("张三",18);
    s.setSchool("哈佛大学");
    System.out.println("姓名：" + s.getName() + "，年龄：" + s.getAge() + "，学校：" + s.getSchool());
    /********* end *********/
}
}

class Person {
    /********* begin *********/
    private String name;
    private int age;
    public Person(String name,int age)
    {this.name=name;
        this.age=age;

    }
    public String getName(){
        return this.name;
    }
    public int getAge(){
        return this.age;
    }
    /********* end *********/
}

class Student extends Person {
    /********* begin *********/
    private String school;
    public Student(String name,int age)
    {
        super(name,age);
    }
    public void setSchool(String school){
        this.school=school;
    }
    public String getSchool(){
        return this.school;
    }
    /********* end *********/
}

